﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title></title>
    @{
        var isDebugMode = false;
        var debugRequest = HttpContext.Current.Request["debug"];
        if (debugRequest != null)
        {
            isDebugMode = debugRequest.Equals("1") || debugRequest.ToLower().Equals("true");
        }
    }
    @if (isDebugMode)
    {
        <link type="text/css" rel="stylesheet" href="~/Scripts/Plugins/EasyUi/themes/icon.css" />
        <link type="text/css" rel="stylesheet" href="~/Scripts/Plugins/EasyUi/themes/metro/easyui.css" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/jquery")
        <script type="text/javascript" src="~/Scripts/Plugins/EasyUi/jquery.easyui.min.js"></script>
        <script type="text/javascript" src="~/Scripts/Plugins/EasyUi/locale/easyui-lang-zh_CN.js"></script>
        @Scripts.Render("~/bundles/helper")
    }
</head>
    <body>
        @RenderSection("style", false)
        @RenderBody()
        <div style="display: none">
            @RenderSection("hiddenArea", false)
        </div>
        @RenderSection("script", false)
    </body>
</html>
